package com.bbs.entity;

import lombok.Data;

import java.util.Date;

/**
 * @PackageName: com.bbs.entity
 * @ClassName: BBSPostCommentListEntity
 * @Description:
 * @Author: Rambo
 * @Data: 2024/6/18 16:05
 */
/**
 * 评论列表-实体类
 * 页面展示时需要的字段与评论实体类不同，因此新增了这个类
 */
@Data
public class BBSCommentListEntity {
    //评论ID
    private Long commentId;

    //帖子ID
    private Long postId;

    //评论者ID
    private Long commentUserId;

    //评论内容
    private String commentBody;

    //上一级评论者ID
    private Long parentCommentUserId;

    //评论创建时间
    private Date commentCreateTime;

    //评论者昵称
    private String nickName;

    //评论者头像
    private String headImgUrl;
}
